How Stable Diffusion was built: Tips and tricks to train large AI models